package com.ele.Service;

import com.ele.Pojo.FoodCategory;
import com.ele.Pojo.PageResult;
import com.ele.Pojo.vo.FoodCategoryVO;

import java.util.List;

public interface FoodCategoryService {
    /**
     * 添加菜品分类
     */
    Integer foodCategoryAdd(String categoryName, String shopId);
    /**
     * 删除菜品分类
     */
    Integer foodCategoryDelete(String categoryId);
    /**
     * 修改菜品分类
     */
    Integer foodCategoryUpdate(String categoryName , String categoryId) ;
    /**
     * 分页查询
     */
    PageResult<List<FoodCategoryVO>> findFoodCategory(String currentPage , String pageSize , String shopId ) ;


    /**
     * 查询某个店铺下的所有菜品分类
     * @param shopId
     * @return
     */
    List<FoodCategory> findAllFoodCategory(String shopId);


}
